
"""
@author: xiangping
@contact: xiangpingbu@gmail.com
@time: 2020/1/14 10:29 上午
@file: __init__.py
@Desc:
"""

# r = {'CG_LT_GL_GL04_Rliaopi': 142.0, 'CG_LT_GL_GL04_RRLB': 509.0, 'CG_LT_GL_GL04_Rcokerate': 125.0, 'CG_LT_GL_GL04_RLFLL': 5240.23243599592, 'CG_LT_GL_GL04_RFYLL': 8294.860391101076, 'CG_LT_GL_GL04_RTQXZS': 29.236928948481943, 'CG_LT_GL_GL04_RSBYCZB': 17.31907627477264, 'CG_LT_GL_GL04_RXBYCZB': 69.28775598114304, 'CG_LT_GL_GL04_RLLRSWD': 2363.62254991947, 'CG_LT_GL_GL04_RGFDNKG': 14057.477533906202, 'CG_LT_GL_GL04_RLDWD': 146.30545056382832, 'CG_LT_GL_GL04_RRFH': 2469.8061712187837, 'CG_LT_GL_GL04_RFZWD': 92.22699496334027, 'CG_LT_GL_GL04_RchutieCi': 13, 'CG_LT_GL_GL04_Rtswd': 1466.0, 'CG_LT_GL_GL04_RSi_Ti': 0.2657, 'CG_LT_GL_GL04_RMg_Al': 0.8294035024804255, 'CG_LT_GL_GL04_R34m': 88.66219712484732, 'CG_LT_GL_GL04_R26m': 51.69687477088196, 'CG_LT_GL_GL04_R24m': 51.640324058572084, 'CG_LT_GL_GL04_R17m': 50.95800309314078, 'CG_LT_GL_GL04_Rluxin2': 479.0186630173109,'CG_LT_GL_GL04_RbengzuoguanCi':1,'CG_LT_GL_GL04_RjianfengCi':2}
#
# for key,value in r.items():
#     print("alter table `gaolu_diagnose_data` add column {}  float DEFAULT NULL; ".format(key))

#
# from app.models.po.gaolu.gaolu_diagnose_data import GaoLuDiagnoseRulePO
#
#
# rule = GaoLuDiagnoseRulePO()
#
# rule.__dict__.update(r)
#
# print(123)